package com.regent.central.bill.core.mrp;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
import java.math.BigDecimal;

/**
 * 物料退料表
 ***/
@Table(name = "central_action_material_return")
public class ActionMaterialReturn {
    @Id
    @Column(name = "id")
    private String id;

    @Column(name = "version")
    private int version;

    @Column(name = "date_created")
    private Date dateCreated;

    @Column(name = "date_updated")
    private Date dateUpdated;

    @Column(name = "time_deleted")
    private long timeDeleted;

    @Column(name = "bill_material_action_id")
    private String billMaterialActionId;

    @Column(name = "action_material_arrive_id")
    private String actionMaterialArriveId;

    @Column(name = "fac_mission_id")
    private String facMissionId;

    @Column(name = "style_no")
    private String styleNo;

    @Column(name = "common_materials_id")
    private String commonMaterialsId;

    @Column(name = "common_materials_no")
    private String commonMaterialsNo;

    @Column(name = "common_materials_sku_id")
    private String commonMaterialsSkuId;

    @Column(name = "quantity")
    private BigDecimal quantity;

    @Column(name = "price_unit")
    private BigDecimal priceUnit;

    @Column(name = "price_total")
    private BigDecimal priceTotal;

    @Column(name = "type")
    private Integer type;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }
    public Date getDateCreated() {
        return dateCreated;
    }

    public void setDateCreated(Date dateCreated) {
        this.dateCreated = dateCreated;
    }
    public Date getDateUpdated() {
        return dateUpdated;
    }

    public void setDateUpdated(Date dateUpdated) {
        this.dateUpdated = dateUpdated;
    }
    public Long getTimeDeleted() {
        return timeDeleted;
    }

    public void setTimeDeleted(long timeDeleted) {
        this.timeDeleted = timeDeleted;
    }

    public String getBillMaterialActionId() {
        return billMaterialActionId;
    }

    public void setBillMaterialActionId(String billMaterialActionId) {
        this.billMaterialActionId = billMaterialActionId;
    }

    public String getActionMaterialArriveId() {
        return actionMaterialArriveId;
    }

    public void setActionMaterialArriveId(String actionMaterialArriveId) {
        this.actionMaterialArriveId = actionMaterialArriveId;
    }

    public String getFacMissionId() {
        return facMissionId;
    }

    public void setFacMissionId(String facMissionId) {
        this.facMissionId = facMissionId;
    }
    public String getStyleNo() {
        return styleNo;
    }

    public void setStyleNo(String styleNo) {
        this.styleNo = styleNo;
    }
    public String getCommonMaterialsId() {
        return commonMaterialsId;
    }

    public void setCommonMaterialsId(String commonMaterialsId) {
        this.commonMaterialsId = commonMaterialsId;
    }
    public String getCommonMaterialsNo() {
        return commonMaterialsNo;
    }

    public void setCommonMaterialsNo(String commonMaterialsNo) {
        this.commonMaterialsNo = commonMaterialsNo;
    }
    public String getCommonMaterialsSkuId() {
        return commonMaterialsSkuId;
    }

    public void setCommonMaterialsSkuId(String commonMaterialsSkuId) {
        this.commonMaterialsSkuId = commonMaterialsSkuId;
    }
    public BigDecimal getQuantity() {
        return quantity;
    }

    public void setQuantity(BigDecimal quantity) {
        this.quantity = quantity;
    }
    public BigDecimal getPriceUnit() {
        return priceUnit;
    }

    public void setPriceUnit(BigDecimal priceUnit) {
        this.priceUnit = priceUnit;
    }
    public BigDecimal getPriceTotal() {
        return priceTotal;
    }

    public void setPriceTotal(BigDecimal priceTotal) {
        this.priceTotal = priceTotal;
    }
    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

}